//
//  CustomProductViewController.h
//  iShop
//
//  Created by svp on 17/12/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "CustomeUIImageView.h"
#import "Shop.h"
#import "Category.h"

@interface CustomProductViewController : UIViewController<CustomeUIImageViewDelegate, NSFetchedResultsControllerDelegate > {
	UIScrollView *_scrollView;
	int _numCustomProducts;
	NSMutableArray *_categories;
	CustomeUIImageView *_selectedUIImageView;
	Shop *_shop;
	Category *_rootCategory;
}

@property (nonatomic, retain) IBOutlet UIScrollView *scrollView;
@property (nonatomic, assign) Shop *shop;
@property (nonatomic, assign) Category *rootCategory;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *hobbiesButton;

-(IBAction) openHobbies:(id) sender;
-(IBAction) openSearchScreen:(id) sender;
-(IBAction) homePress:(id) sender;

@end
